/* SPDX-License-Identifier: BSD-3-Clause
 *
 * Copyright(c) 2022 Intel Corporation. All rights reserved.
 */

/* Created 13-Sep-2022 11:32:32 with script ref_matrix.m v1.9-rc1-1767-gf95e12db0 */

#define MEL_FILTERBANK_16_TEST4_FFT_SIZE  1024
#define MEL_FILTERBANK_16_TEST4_NUM_MEL_BINS  23
#define MEL_FILTERBANK_16_TEST4_NORM_SLANEY  1
#define MEL_FILTERBANK_16_TEST4_MEL_LOG  MEL_DB
#define MEL_FILTERBANK_16_TEST4_SHIFT  3

static const int16_t mel_filterbank_16_test4_real[513] = {
	-25313,  30464,  -4423, -27226,  14200,    445, -11266,  16615,  22020, -16140,
	  2256,  -4249, -22433,   6585,  28669, -25706,  26213,   3307,  -4761, -22782,
	-16545,  -3449,   2148,  -9526,  17899,  25014,  15341,  -6132,   6827,   9247,
	-24414,   -250, -12421,   5149,  29072,  -4788, -30597,  28143,  27852,  -9286,
	-15729,  18800,    759,   4098,  12111, -26713,  24417,  29028, -26438,  22668,
	 26830, -32025,   1552,   9853,  -7527,   9785,  17226,   4960,   8645, -14536,
	 22272,  -4795,   8626,  21854, -15061,  -6501,   3556,  -3679, -26845,  16016,
	-30631,  -4604, -30326,  31182,   1464,  26846,  -7651,  25195, -16055,  26807,
	 25858,  -6651,   8193,   4430,  25855, -18732, -32515,  24942, -17359, -16721,
	  9235, -12811,  21340,  25145,  29188,  -7157,  19747, -22471,   8203,  13041,
	-27140,   2043,  25465, -15488, -17381,  22260,   -292, -22783, -17644,  10352,
	  4125, -13643,   8015,  14150, -14370,  -5749,  -9030,  18441, -23889,  26350,
	-13786,    -29,  18585,  11604, -22950,  12886, -24313,  29226,  25324,    983,
	 11758,  31247, -24546,  16531,  21434,  18444, -20258,  -4677, -31821, -11450,
	-23940,  -3243,   4737,  19138,  -5260,   2132,  27899,  26154,   2938,  26288,
	-29371,  20225, -10820, -17781,  21129,  -9946, -21924, -30924,  29843,  11816,
	 23630,  28776,  11809,  27356, -15945,  25272,  27528, -13103, -27958,  17524,
	-27201,  14992,  -3415,   9912, -21660,   2061,   8769, -31844,  -1942,  25318,
	-25295,  -3766,  10456, -13450,  29515,  12733, -19215,   3589,  24856,   3792,
	 16537,  25880,  22403, -24192, -20372, -22699, -30874, -32173,   6321,   7147,
	 27455,  15308, -13032,   -290, -15849,  15260, -25116,  16125,  20302,  16072,
	-10673,   5526,  -2035, -27049,  21543,  12186, -15249,  30768, -20724, -13111,
	 -5821, -17269, -19985,  13460, -20936,   1464, -13358,  -2439,  27868, -18619,
	-32702,  26647,  11799,    980,   1446, -26023,  32564,  -9243,   8208,  -6988,
	-32266,   2968,    597, -16595, -29793,  22396, -29606, -12038,  18574,  30959,
	  5667,  18222,  14922,   9895,  10788,  28756,   2299,  -6656,  11171,  -3897,
	-24060,  -3984,   3122,  -6872,  -6667,  16472,   1465,   -627, -26956, -16328,
	 -3437,   9041,  13726,  32284,  28324, -26724,  29723, -22099,  30832,   6357,
	-17024, -28161, -13104,  20548, -27741,  -9537, -24117, -22402, -28695,  13228,
	-27100,   7654, -21380,   9922,    -85, -14122,  21664,  20864,  28716, -32747,
	  9201, -32286, -25794, -25769,  -8709, -17065, -10083, -16409,  -7401,  -5175,
	  9180,  18845, -15074,  22543,  15759,  21371, -20828, -28480,   7232,  13209,
	-25453, -26488,   6412,  20462,  20616, -26907,  15157,  26467,  -3131, -28135,
	-16956,  15196, -30114,  -4946,   2636,  29742, -19077, -25144,   9583, -25663,
	 31686, -16493,   6970,  20755,  21630,   -718,  17087,  27205,  26278, -18728,
	  3084,  18659, -20025,  16180,  -1602,   5456, -15693, -27209, -13230,  27337,
	 -1932, -15108,  17234,  17837, -31372,  24903,  19541, -11524,  11078, -13350,
	 28177, -14289, -21700,  16067,  -1499,  10056,  30578, -12253, -27758,  19098,
	 -8822,   5577, -20753, -27727, -22698,  21422, -13044,  -7610,   9879,  20799,
	 17450,  -8246, -20325,   9601, -32532, -14229,   9083,   6034, -11450,  32044,
	-24692,  15458, -22504,  -4283,  21774,  -9181, -27772,   3731, -14816, -24114,
	 13085,   -924, -20794, -26135, -19557, -23937, -11548,  29527,   2106, -16536,
	 -4111,  11081,   3126,   7147,  23798,  -7819,  16316, -22499, -28959, -10505,
	 20786,  -8025,  30973,   6902, -10601,  28048,  26111,  22984, -15939, -14058,
	 18347,  13199,   -491,  30649,  -1562,  32434,   -617,    226,  17614,  -7334,
	 -3063, -24061,  16941,   4275,   9741,  19534, -18321,  23455,  26524, -13630,
	 14803, -10522, -14898, -21609,  10749,   2350,  21569, -15246, -21223,  -4510,
	 -1595,  18692, -24206, -29402,   8356, -30862, -23842,  12750,   1028,   2791,
	 20217,  19247,    122, -14639, -24926,  25336,  30821,  29001,   9052, -26831,
	-27872, -20811, -30691,  14741, -23320,   8908,  18995,   4342,  -8034,  21075,
	-12787, -11838,  18676,    245, -15663,  15236, -22089,  27596, -18204, -27289,
	-27938,  17665,  20819,
};

static const int16_t mel_filterbank_16_test4_imag[513] = {
	 15757,  16925,  30225,  -2200,  18809,  -5075,  29080, -32682,  31540,   4600,
	-10062,   3769, -13121, -22343,  10830,  12072,  19163,  -9921, -16379, -10158,
	-11231,  28016,  16782, -13878,   6959,  17435,  22685,  26344,   6272, -28276,
	-18478,  24210,  -5622,  10565,  18578, -16523,   3567, -17722, -32315,  17474,
	-31337,  -7006, -16218, -19384,  10635,  27181, -32316,  16150,  19639,  26726,
	 31102, -24913,   1243,  21101,   8980,  29747,  29290,  30579, -28355,  -4094,
	-11741, -23983, -23948,  20051,   1623,  29115,  32004,  -5905,  -8442, -17901,
	 -3537, -15321,  -2681,  -4397, -15753, -24005,  -5293,    450, -11513,  12104,
	 -3729,  -4216,  19204,  20680,  16522,  18957,     83,   3616,   8569, -26346,
	-16667,   7584, -12782,  17496, -15255, -30179, -13333,   3694,  30741,  12394,
	 14279,   3869,   2186,  24623,  -7006,  -2748, -19120,  16861,   3060,  -9346,
	 13173, -25610, -32335,   6377,  10432,   5243,  26867,   8913,   1675, -15753,
	-29414,  15201, -22001, -14392, -15766,   3086,   2705,  18882,  24222,  18844,
	 30764, -20941,  28220, -29809, -16997, -32188,  11246,  26530,   4746, -22580,
	   155,   4439, -20429, -11521,  14158,   3469, -23443,  -7840,  -6778,   5029,
	-31497,   5084,  28324, -25764,  15214,  30836,   7136,  14396, -12927,  -2686,
	-29620,  -7514,  -9063, -13921,  20756,  -3242,  20095,  19017, -14224, -28291,
	-29168,   9013,  -4962,  26577,  -5418, -22672,   2621,  28645,  10548,  -6904,
	-15795,  22801,  29167,  -8061, -28359, -20868,   4964, -20586, -13668,  -2512,
	-10028, -11917,  -2627, -17308, -30949,  10384, -22361,  19835,  -5991, -11312,
	 16123,  16145, -21368, -25065, -21362,   8350,  22406,    661, -21905,  14045,
	 26676, -18446,  24311, -18885,  22064,  23547,   1532,  -1484,  25551, -28503,
	   620,   7917,  15307, -17695, -31335, -23659,  17662,  30787,  -7419,  32337,
	-11377, -23779,  -7553,   4105,   8771,   2727, -12125, -22326, -22766, -23793,
	 13750,  -2303, -25345,  13165, -20972,  19901,    915,   3174, -19147,  18651,
	  1736,   4655,  -5109,  14494, -27975,   6217,  23723,  -3355,   9999, -12880,
	  7041, -14490,  19632,  19410,  29759,  -3648,  -2826,   6542,  22454, -30723,
	-20495,  29071,  29355,  -3081,  20371,  28107,  11319,  -8367,  -6180,  -4009,
	 11708,  -2289,  29705,  -9523, -10550,  25943,   2978,  16337, -24584,  -3065,
	-27869,  10705,  13347,  27456,  10490,  12459,  23182,  -2104,  -2721,  20061,
	 21284, -20288, -31085, -29045, -23401, -21534,   8247, -30834,  -1813,  11694,
	-25245, -17297, -13823, -21446, -11554,  19734, -13131,  18063,   3458,   3584,
	 15116,  17932,  26270, -23713,  19273, -20355, -30869, -24420, -24003, -24359,
	 28525, -14862,  29011,   9054,  24414,  -8711, -17288, -20492,   2992, -16049,
	-12726, -31749,   5734,  30314,  22928, -32248,   8783,  -9221, -25293,   2675,
	 -5477,   1121,  25305, -22977,  -4281, -28899,  -7797,  14573, -26534,  10957,
	-13343,   6459, -22816,  -4170, -31937, -17759, -15487,    746, -18672, -10085,
	 16241,  -5661, -29114,  -7207,  -1672,  21320, -12868,  21089,   4304, -29204,
	-15728,   5839,  -1328, -19749, -17104,  18363,   7688, -23322,  14164,  -6455,
	 -2465,  13584,  -6474, -31825, -27876,   5968,  -3539,  27959, -26549,  -8165,
	  3015, -25449,  26507,   8734,  26569,   8556, -31836, -12027, -25436,   8484,
	-28789,  11403,  -1479, -12744,   1070,  13568,  20553, -12071, -12367, -10160,
	 10899,  23663,  17156,  24631,  24329, -21444,  22952,  30120,  17708,  24577,
	-28350,   9620, -11528,   9198,  24887,  -8281,  17481, -21752,   1293,   8353,
	 14019, -12688, -15487,  27263,   7539, -26662,   8369, -20183,  18151,  23888,
	-10906, -23894,  17398, -11887, -16228, -19656, -28245,   3402,  -6304,  16392,
	  -840,  -7551, -28744, -18764,   2875,  -5856,  26278, -29079,  -3702,   2478,
	-23982,   2684,  23420, -19791, -22570, -28746,  10556, -31549, -13690,  31053,
	 17343, -16798,  11935, -23734,   8507,  23397,  26201,  -9937,   -897,  11765,
	 13377,  -2564,  -8895, -14401, -27774,  -3629, -21908,  -6636,  27563,    743,
	 27141, -26743,  32312, -26448, -12246,  18702,   6711,  -2234, -13230, -24040,
	-13434, -21848, -11986,
};

static const int16_t mel_filterbank_16_test4_mel_log[23] = {
	 -4211,  -4205,  -4222,  -4146,  -3992,  -3883,  -4028,  -4119,  -4154,  -4111,
	 -4211,  -4125,  -4018,  -4023,  -4069,  -4073,  -4074,  -4158,  -4052,  -4025,
	 -4049,  -4120,  -4106,
};
